<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<script>
	$(document).ready(function(){
		$("#main_logo").click(function(){
			location.href="${initParam.root}";
		});
		$("#homeBtn").click(function(){
			location.href="${initParam.root}";
		});
		$("#tsearch").click(function(){
			location.href="${initParam.root}mypage/searchForm.do";
		});
		$("#meBtn").click(function(){
			location.href="${initParam.root}auth_myinfo.do";
		});
		$("#searchForm_btn").click(function(){
			if($("#searchForm").val()!="")
				location.href="${initParam.root}mypage/totalSearch.do?word="+$("#searchForm").val();
		});
		$("#searchForm").keypress(function(event){
			if(event.keyCode == 13){
				$("#searchForm_btn").click();
				return false;
			}
		});
	});
</script>
<c:if test="${sessionScope.loginMember.point == -1}">
	<img src="${initParam.root}img/adminmode.png" height="23" align="left" style="position: absolute; left: 10px;">
</c:if>
<div id="header_top" align="center">
	<table>
		<tr>
			<td>
				<img src="${initParam.root}img/home.png" height="20" id="homeBtn">
			</td>
			<td>
				<img src="${initParam.root}img/search.png" height="15" id="tsearch">
			</td>
			<td>
				<img src="${initParam.root}img/me.png" height="20" id="meBtn">
			</td>
		</tr>
	</table>
</div>
<img src="${initParam.root }img/logo.jpg" height="50" id="main_logo">
<input id="searchForm" type="text" size="40" style="border: 4px solid  #0454a4; padding-left: 3px;">
<img id="searchForm_btn" src="${initParam.root }img/search_btn.jpg" height="26" class="img_button">
<br>
<br>
<span class="header_menu"><a href="${initParam.root}public/getPublicBoardList.do">정보공유</a></span> |
<span class="header_menu"><a href="${initParam.root}collection/contentList.do">자소서첨삭</a></span> |
<span class="header_menu"><a href="${initParam.root }mypage/auth_myPageMenuView.do">마이페이지</a></span>
